package com.zqx.bridge.client;


import com.zqx.bridge.abstractclass.Image;
import com.zqx.bridge.impl.ImageImp;
import com.zqx.bridge.utils.XMLUtil;

public class Client {

    public static void main(String[] args) {
        Image image = (Image) XMLUtil.getBean("image");
        ImageImp os = (ImageImp) XMLUtil.getBean("os");
        image.setImageImp(os);
        image.parseFile("小龙女");
    }
}
